<!-- 继承公共的 form -->
{{extend name="../../../module/view/form_table/form" /}}

<!-- 表单顶部操作栏 -->
{{block name="form_operate_top"}}
    <!-- 是否有添加编辑页面权限 -->
    {{if AdminIsPower('admin', 'saveinfo')}}
        <a href="{{:MyUrl('admin/admin/saveinfo')}}" class="am-btn am-btn-primary am-radius am-btn-xs"> 
            <i class="iconfont icon-btn-add am-show-sm-only"></i>
            <span>{{:MyLang('add_title')}}</span>
        </a>
    {{/if}}

    <!-- 父级内容 -->
    {__block__}
{{/block}}

<!-- 底部提示信息 -->
{{block name="form_operate_bottom"}}
    {{if isset($admin) and isset($admin['id']) and $admin['id'] eq 1 and is_array(MyLang('admin.top_tips_list'))}}
        <div class="am-tips-card">
            <p>{{:implode('</p><p>', MyLang('admin.top_tips_list'))}}</p>
        </div>
    {{/if}}
{{/block}}